/*
 * request_generator_form.h
 * This file is part of gURL
 *
 * Copyright (C) 2013, 2014 - Aleksey Konovalov
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU Library General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Library General Public License for more details.
 *
 *  You should have received a copy of the GNU Library General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#ifndef REQUEST_GENERATOR_FORM_H
#define REQUEST_GENERATOR_FORM_H

#include <gtk/gtk.h>

#define REQUEST_GENERATOR_FORM_TYPE (request_generator_form_get_type())
#define REQUEST_GENERATOR_FORM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), REQUEST_GENERATOR_FORM_TYPE, RequestGeneratorForm))
#define REQUEST_GENERATOR_FORM_CLASS(cl) (G_TYPE_CHECK_CLASS_CAST((cl), REQUEST_GENERATOR_FORM_TYPE, RequestGeneratorFormType))
#define REQUEST_GENERATOR_IS_FORM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), REQUEST_GENERATOR_FORM_TYPE))
#define REQUEST_GENERATOR_IS_FORM_CLASS(cl) (G_TYPE_CHECK_CLASS_TYPE((cl), REQUEST_GENERATOR_FORM_TYPE))
#define REQUEST_GENERATOR_FORM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), REQUEST_GENERATOR_TYPE_FORM, RequestGeneratorFormClass))

typedef struct _RequestGeneratorForm RequestGeneratorForm;
typedef struct _RequestGeneratorFormClass RequestGeneratorFormClass;

GType request_generator_form_get_type();

void request_generator_form_load_config(RequestGeneratorForm* self);
void request_generator_form_save_config(RequestGeneratorForm* self);

GtkWidget* request_generator_form_new();

#endif /* REQUEST_GENERATOR_FORM_H */
